<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<jsp:include page="/WEB-INF/templateFrontoffice/header.jsp"/>
<script src="<c:url value='/javascript/jquery.tablesorter.js'/>"></script>
<!-- <script src="<c:url value='/javascript/jquery.tablesorter.custom.js'/>"></script> -->
<script>
	$(document).ready(function(){$("#myTable").tablesorter({sortList:[[0,1]]});});
</script>
  <div id="container">
    <div id="top">
      <span id="arianne">
          <a href="<c:url value='/'/>">Accueil</a> > 
          <a href="<c:url value='/societe/liste'/>">Sociétés</a> >
          <a href="<c:url value='/societe?id=${param.id}'/>"><c:out value="${societe.nom}"/></a>
      </span>
      <br/>
      <div id="mainlarge">
        <h2><c:out value="${societe.nom}"/></h2>
        <p class="error">${error}</p>
        <form action="<c:url value='/masociete?action=edit'/>" method="POST">
			<table style="line-height: 24px">
				<tr>
					<td class="bold" style="width:100px">Type</td>
					<td><input name="type" type="text" value="<c:out value='${societe.type}'/>"></td>
				</tr>
				<tr>
					<td class="bold" style="width:100px">Secteur</td>
					<td><input name="secteur" type="text" value="<c:out value='${societe.secteur}'/>"></td>
				</tr>
				<tr>
					<td class="bold">Capitalisation</td>
					<td><input name="capitalisation" type="number" step="any" value="<c:out value='${societe.capitalisation}'/>"></td>
				</tr>
				<tr>
					<td class="bold">PER</td>
					<td><input name="per" type="number" step="any" value="<c:out value='${societe.PER}'/>"></td>
				</tr>
				<tr>
					<td class="bold">BPA</td>
					<td><input name="bpa" type="number" step="any" value="<c:out value='${societe.BPA}'/>"></td>
				</tr>
				<tr>
					<td class="bold">Description</td>
					<td><textarea name="description">${societe.description}</textarea></td>
				</tr>
			</table>
			<input type="submit" value="Modifier"/>
		</form>
        <br/>
      </div>
    <!--end bottom-->
  </div>
  </div>
<jsp:include page="/WEB-INF/templateFrontoffice/footer.jsp"/>